package com.dy.nygl.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.dy.nygl.pojo.CostAnalysis;

@Component("costAnalysisDao")
public interface CostAnalysisMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CostAnalysis record);

    int insertSelective(CostAnalysis record);

    CostAnalysis selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CostAnalysis record);

    int updateByPrimaryKey(CostAnalysis record);
    
    List<CostAnalysis> selectAll();

	List<Double> selectPrice();
	
	Double selectPriceByCode(String code);
	
	String selectTypeByCode(String code);
	
	List<String> selectEnergyType();
	
	List<String> selectCodeMapper();
	
}